projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26104b0
)
autoconf: add file missing from 26123:f6d5b3bf74a8
author
Ian Jackson
<Ian.Jackson@eu.citrix.com>
Tue, 30 Oct 2012 18:12:11 +0000
(18:12 +0000)
committer
Ian Jackson
<Ian.Jackson@eu.citrix.com>
Tue, 30 Oct 2012 18:12:11 +0000
(18:12 +0000)
This file was in 26123:
f6d5b3bf74a8
as submitted but I failed to add it.
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/m4/fetcher.m4
[new file with mode: 0644]
patch
|
blob
diff --git a/tools/m4/fetcher.m4
b/tools/m4/fetcher.m4
new file mode 100644
(file)
index 0000000..
86f33b3
--- /dev/null
+++ b/
tools/m4/fetcher.m4
@@ -0,0
+1,14
@@
+AC_DEFUN([AX_CHECK_FETCHER], [
+AC_PATH_PROG([WGET],[wget], [no])
+AS_IF([test x"$WGET" != x"no"], [
+ FETCHER="$WGET -c -O"
+], [
+ AC_PATH_PROG([FTP],[ftp], [no])
+ AS_IF([test x"$FTP" != x"no"], [
+ FETCHER="$FTP -o"
+ ], [
+ AC_MSG_ERROR([cannot find wget or ftp])
+ ])
+])
+AC_SUBST(FETCHER)
+])